include_directories(/usr/include/eigen3
        /usr/local/include/colmap
        /usr/local/include/colmap/lib
        ./)

set(CGAL_DIR /home/lmz/Downloads/cgal-download/CGAL)
find_package(CGAL QUIET COMPONENTS Core)
if(CGAL_FOUND)
        include(${CGAL_USE_FILE})
endif()

find_package(CUDA)
if(CUDA_FOUND)
        add_definitions("-DUSEGPU")
else()        
	MESSAGE("-- Can't find CUDA. Continuing without it.")
endif()

aux_source_directory(. ALGO_SRCS )
add_library(algo "${ALGO_SRCS}")